﻿@model IEnumerable<LeadMaster.Models.ScheduleSection>

@{
    ViewBag.Title = "Index";
}

<p>
    @Html.ActionLink("Create New Legal Section", "Create")
</p>
<table class="contactstable smalltable" cellspacing="0" cellpadding="0"> 
    <tr>
        <th class="tableheader">
            @Html.DisplayNameFor(model => model.FieldHeader)
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.ActionLink(item.FieldHeader, "Edit", new { id=item.ScheduleSectionsID }) 
        </td>
    </tr>
}

</table>
